﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mammoth.Events
{
    public enum ServiceErrorType
    {
        AuthenticationError, 
        ConnectionError,
        InvalidAccount,
        AccountExist
    }

    public class ServiceErrorEventArgs : ServiceMessageEventArgs
    {
        public ServiceErrorEventArgs() : base() { }
        public ServiceErrorEventArgs(string serviceEmail, ServiceErrorType error)
        {
            ServiceEmail = serviceEmail;
            Error = error;
        }
        public ServiceErrorType Error { get; set; }
    }
}
